/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.aseclipse.core.runtime.registry.classes {

import org.aseclipse.core.runtime.registry.IExtension;
import org.aseclipse.core.runtime.registry.IExtensionPoint;

public interface IRegistryElement {
	
	/****
	 * For loading phase and plugin dependency
	 */ 
	function getPluginActivator():String;
	function getLibraries():Array;		
	function getRequirePlugins():Array;
	
	/****
	 * For runtime extension
	 */ 
	function getUniqueIdentifier():String;
	function getExtensions():Array; //IExtension[];
	function getExtensionPoint(xpt:String):IExtensionPoint;
	function getExtensionPoints():Array; //IExtensionPoint[];	
	function isFragment():Boolean;
	function getHostIdentifier():String;
	function getId():int;
}
}